module.exports = {
    serverUrl: 'https://server.castjp.top',
    setServerUrl(url) {
        this.serverUrl = url;
        console.log('serverUrl:', this.serverUrl);
    },
    meetingPath: '/meeting/',
    avatarPath: '/member/avatar',
    photoPath: '/member/photo',
    identityPath: '/member/identity',

    redisKeys: {
        WX_ACCESS_TOKEN: 'WX_ACCESS_TOKEN',
    },

    stateType: {
        disable: 0,
        active: 1,
        inactive: 2,
        adminDelete: 3
    },

    registerType: {
        guest: {
            value: 1,
            name: '游客'
        },
        registering: {
            value: 2,
            name: '注册中'
        },
        registered: {
            value: 3,
            name: '已完善'
        }
    },

    singleType: {
        single: {
            value: 1,
            name: '寻觅中'
        },
        married: {
            value: 2,
            name: '有对象'
        }
    },

    verifyType: {
        avatar: {
            value: 1,
            name: '头像审核'
        },
        identity: {
            value: 2,
            name: '实名审核'
        },
        education: {
            value: 3,
            name: '学历审核'
        },
        complaint: {
            value: 11,
            name: '投诉审核'
        }
    },

    imageType: {
        photo: {
            value: 1,
            name: '照片'
        },
        idUp: {
            value: 2,
            name: '身份证正面'
        },
        idDown: {
            value: 3,
            name: '身份证背面'
        }
    },

    verifyStateType: {
        apply: {
            value: 1,
            name: '待审核',
            action: '审核'
        },
        rejected: {
            value: 2,
            name: '被驳回',
            action: '驳回'
        },
        certified: {
            value: 3,
            name: '已认证',
            action: '通过'
        }
    },

    relationType: {
        followed: 1,
        blacklist: 2
    },

    msgReadType: {
        read: {
            value: 0,
            name: '已读'
        },
        unread: {
            value: 1,
            name: '未读'
        }
    },

    meetingType: {
        indoor: {
            value: 1,
            name: '室内'
        },
        outdoor: {
            value: 2,
            name: '室外'
        }
    },

    coupleStateType: {
        cancel: {
            value: 0,
            name: '取消'
        },
        invite: {
            value: 1,
            name: '邀请'
        },
        reject: {
            value: 2,
            name: '拒绝'
        },
        accept: {
            value: 3,
            name: '接受'
        }
    }
};